package com.lyfx.search.feign;

import com.lyfx.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lsy
 * @create 2020-08-16-17:27
 */
@FeignClient("lyfx-ly")
public interface LyFeignService {

    @GetMapping("/ly/attr/info/{attrId}")
    public R getAttrsInfo(@PathVariable("attrId") Long attrId);
}
